import pymysql
from movie_search import *
from movie_search import movie_detail as mo_d
from movie_info_cn import *
from update import update1
def insert10():
    downloadtop10()
    top10_sql()
    for i in top10():
        update1(i[0])


if __name__ == '__main__':
    insert10()